package com.meij.bean;

import java.io.Serializable;

import android.text.TextUtils;

public class UserInfo implements Serializable {

	private String account;
	private String userkey;
	private String token;
	private int roleApply;
	private Person person;

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		if (TextUtils.isEmpty(account) || account.equals("null")) {
			return;
		}
		this.account = account;
	}

	public String getUserkey() {
		return userkey;
	}

	public void setUserkey(String userkey) {
		if (TextUtils.isEmpty(userkey) || userkey.equals("null")) {
			return;
		}
		this.userkey = userkey;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		if (TextUtils.isEmpty(token) || token.equals("null")) {
			return;
		}
		this.token = token;
	}

	public int getRoleApply() {
		return roleApply;
	}

	public void setRoleApply(int roleApply) {
		if (roleApply == 0) {
			return;
		}
		this.roleApply = roleApply;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

}
